package com.zhny.pojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/*
    百科知识实体类
 */
@Table(name ="t_knowledge")
public class Knowledge implements Serializable {
    @Id
    private int id;//百科知识id
    private String cropname;//农作物名称
    private String pestname;//病虫名称
    private String weedname;//杂草名称
    private String pestdetails;//病虫详细信息
    private String weeddetails;//杂草详细信息
    private String aspect; //表现特征
    private String disease_range; //病虫害数据范围
    private String normal_range; //正常数据指标
    private String pestcure;//病虫防治方式
    private String weedcure;//杂草防治方式
    private String stage;//生命阶段
    @Column(name="DataSource")
    private String DataSource;//数据来源
    private String classification;//知识分类


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCropname() {
        return cropname;
    }

    public void setCropname(String cropname) {
        this.cropname = cropname;
    }

    public String getPestname() {
        return pestname;
    }

    public void setPestname(String pestname) {
        this.pestname = pestname;
    }

    public String getWeedname() {
        return weedname;
    }

    public void setWeedname(String weedname) {
        this.weedname = weedname;
    }

    public String getPestdetails() {
        return pestdetails;
    }

    public void setPestdetails(String pestdetails) {
        this.pestdetails = pestdetails;
    }

    public String getWeeddetails() {
        return weeddetails;
    }

    public void setWeeddetails(String weeddetails) {
        this.weeddetails = weeddetails;
    }

    public String getAspect() {
        return aspect;
    }

    public void setAspect(String aspect) {
        this.aspect = aspect;
    }

    public String getDisease_range() {
        return disease_range;
    }

    public void setDisease_range(String disease_range) {
        this.disease_range = disease_range;
    }

    public String getNormal_range() {
        return normal_range;
    }

    public void setNormal_range(String normal_range) {
        this.normal_range = normal_range;
    }

    public String getPestcure() {
        return pestcure;
    }

    public void setPestcure(String pestcure) {
        this.pestcure = pestcure;
    }

    public String getWeedcure() {
        return weedcure;
    }

    public void setWeedcure(String weedcure) {
        this.weedcure = weedcure;
    }

    public String getStage() {
        return stage;
    }

    public void setStage(String stage) {
        this.stage = stage;
    }

    public String getDataSource() {
        return DataSource;
    }

    public void setDataSource(String dataSource) {
        DataSource = dataSource;
    }

    public String getClassification() {
        return classification;
    }

    public void setClassification(String classification) {
        this.classification = classification;
    }
}
